package com.anxinr.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 收货地址
 * @author anxinr
 */
@Data
public class AddressDTO implements Serializable {
    @ApiModelProperty("id")
    private Long id ;
    @ApiModelProperty("关联用户id")
    private Long userId ;
    @ApiModelProperty("收货地址")
    private String addr ;
    @ApiModelProperty("是否默认地址  0  1")
    private Integer isDefault ;
}
